package com.sen.pro.switches.front.action;

import org.apache.log4j.Logger;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.sen.common.struts.BaseAction;
import com.sen.pro.switches.core.util.ActionUtils;

/**
 * 经销商
 * 
 * @author tian qingsen
 */
@Scope("prototype")
@Controller("distributorsAction")
@Namespace("/")
public class DistributorsAction extends BaseAction {

	private static final long serialVersionUID = 2646692785279091402L;
	private static Logger LOG = Logger.getLogger(DistributorsAction.class);

	@Action(value = "distributors", results = { @Result(name = SUCCESS, location = "/WEB-INF/view/distributors.jsp") })
	public String index() {
		LOG.info("经销商");
		ActionUtils.initSiteImg(request);
		
		return SUCCESS;
	}
}
